body {
	margin:auto;
    background:#efefef url(http://img04.taobaocdn.com/imgextra/i4/135326559/T2aVf0XbNbXXXXXXXX_!!135326559.png) repeat top center;
	font:12px/1.5 '宋体',Arial,Lucida,Helvetica,sans-serif;
}

footer {
	background:#000000;
}
/*
header {
	background:#666666;
}*/

body > header { min-width: 960px; }
body > footer { min-width: 960px; }
body > div#main {min-width: 960px; }
body > div#nav {min-width: 960px; height:40px;}
body > div#ad-top {min-width: 960px; margin-top:8px;}

.ym-wrapper {
    margin: auto auto auto auto;
    max-width: 990px;
}

.ad-wbox {
    padding-left:5px;
	padding-right:5px;	 
    width:960px;
	height:360px;
    margin: auto;
	overflow:hidden;
}

.nav-wbox { 
    width:960px;
	margin: auto;
	height:40px;
}

.head-wbox { 
    width:950px;
    margin: auto;
}

.ym-wbox {
    padding: 10px;
    width:960px;
    margin: auto;
}

/*  
为slides设计样式
*/
#slides {
    width:950px;
    height:360px;
    position: relative;
    margin: auto auto auto auto;
}

.slides_container div {
    margin: auto auto auto auto;
    width:950px;
    height:360px;
    display:block;
}

#slides .next,#slides .prev {
	width:24px;
	height:43px;
	display:block;
    position:absolute;
    top:180px;
    left:10px;
    z-index:101;
}
#slides .next {
	left:916px ;
}

/*
为slides下面的页面切换按钮设计样式
*/
.pagination {
	margin:auto;
    position:absolute;
    top:330px;
    left:805px;
	width:100px;
    z-index:101;
}

.pagination li {
	float:left;
	margin:0 1px;
	list-style:none;
}

.pagination li a {
	display:block;
	width:12px;
	height:0;
	padding-top:12px;
	background-image:url(http://img03.taobaocdn.com/imgextra/i3/135326559/T2YokkXmxXXXXXXXXX_!!135326559.png);
	background-position:0 0;
	float:left;
	overflow:hidden;
}

.pagination li.current a {
	background-position:0 -12px;
}

/*
对四列产品进行定位
*/

#product {
    margin: auto;
}
.col {
  width:220px;
  height:420px;
  margin-bottom:20px;
  padding:5px 5px 5px 5px;
  float:left;
  border-style: solid;
  border-width: 1px;
  border-color: #AAAAAA;
  background:white;
}

.col:hover {
	border-color:red;
}
.col img:hover {
	opacity:0.7;
	filter:alpha(opacity=70);
}

.product_img img {
	max-width:220px;
	width:expression(document.body.clientWidth > 220? "220px": "auto" );
	height:220px;
}
.product_name {
	height:40px;
	font-weight:bold;
	margin-top:10px;
}

.price {
	font-weight:bold;
	font-size:16px;
	color:red;
}
.prime_price {
    font-weight:bold;
	font-size:16px;
	color:red;
	text-decoration:line-through;
}

.desc,.p_button {
	 margin-top:10px;
}

.p_button {
	height:20px;
}
.p_button .love {
	border:1px;
	border-color:#FF7F24;
	border-style:solid;
	padding:2px;
}
.p_button .count {
	margin-right:4px;
	margin-left:4px;
}

a.buy {
	float:right;
	height:20px;
}

/*对头部进行样式处理*/
#head {
	position: relative;
	height:110px;
}
#head_right {
	position: absolute;
	top:  20px;
	left: 300px;
}
#search {
	position: absolute;
	left: 245px;
	width:405px;
	height:36px;
}
#search .text {
	box-sizing: content-box;
	font-size: 12px;
	width:300px;
	height:28px;
	padding:2px;
	border:solid 2px #F47777;
}
#search .button {
	height:36px;
	width:90px;
	background:#F47777;
	border-style:none;
	border:solid 2px #F55454;
}
#search .hover {
	cursor:pointer;
    height:36px;
    width:90px;
    background:#F55454;
    border-style:none;
    border:solid 2px #F55454;
}
#search .mousedown {
	cursor:wait;
    height:36px;
    width:90px;
    background:#EE2525;
    border-style:none;
    border:solid 2px #F55454;
}


/*导航栏样式部分*/
#sddm
{	
	width: 950px;
	height:40px;
	margin:0px;
	margin-left:5px;
	padding-left:0px;
	background:#F47777;
}
#sddm li
{
	position: relative;
	min-width:70px;	
	padding:7px;
	height:26px;
	list-style: none;
	font:normal bold 16px/26px "microsoft yahei";
	float: left;
}
#sddm li a
{	
	display: block;
	margin: auto;
	color: #FFF;
	text-align: center;
	text-decoration: none;
}
#sddm li:hover
{	
	background: #EE0B3C;
}
#sddm div
{	
	z-index:101;
	position: absolute;
	top:40px;
	left:0px;
	min-width:120px;
	visibility: hidden;
	margin: 0;
	padding: 0;
}
#sddm div a
{	position: relative;
	display: block;
	margin-bottom: 2px;
	padding: 5px;
	width: auto;
	white-space: nowrap;
	text-align: left;
	text-decoration: none;
	background: #EE0B3C;
	color: #FFF;
}
#sddm div a:hover
{	
	background: #FA6833;
}


#infscr-loading {
text-align: center;  
z-index: 100;  
position: fixed;  
left: 45%;  
bottom: 40px; 
width: 200px;  
padding: 10px;  
background: #000;   
opacity: 0.8;  
color: #FFF;  
-webkit-border-radius: 10px;    
 -moz-border-radius: 10px;          
border-radius: 10px;
}

/*返回顶部的样式*/
#returnTop{ width:80px; height:80px; position:fixed; bottom:40px; right:30px; background:#ddd; cursor:pointer;opacity:0.6;filter:alpha(opacity=60);}
#returnTop:hover{opacity:1;filter:alpha(opacity=100);}


/*超链接的样式*/
a:link { color:black; text-decoration:none;}/* 超链接的样式 */
a:visited { color:black;text-decoration:none; }
a:visited:hover { text-decoration:underline; }
a:hover { text-decoration:underline; }
a:active { text-decoration:underline; }

img {
	border-style:none;
}

/**** Clearfix ****/
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
.clear { 
    clear:both;
    float:none;
}
